Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.LIB_VERSION = exports.APP_VERSION = exports.IS_ANDROID = exports.IS_IOS = exports.IS_WX = exports.IS_QQ = exports.IS_TRTC = void 0;

var e = function(e) {
    return e && e.__esModule ? e : {
        default: e
    };
}(require("./compare-version.js")), o = wx || qq;

o || console.error("TRTC-ROOM", "不支持当前小程序环境");

var s = o.getSystemInfoSync();

console.log("TRTC-ROOM", "SystemInfo", s);

var r = void 0;

"undefined" != typeof qq ? r = !0 : "undefined" != typeof wx && (r = (0, e.default)(s.version, "7.0.8") >= 0 && (0, 
e.default)(s.SDKVersion, "2.10.0") >= 0);

var t = exports.IS_TRTC = r, n = (exports.IS_QQ = "undefined" != typeof qq, exports.IS_WX = "undefined" != typeof wx, 
exports.IS_IOS = /iOS/i.test(s.system), exports.IS_ANDROID = /Android/i.test(s.system), 
exports.APP_VERSION = s.version), S = exports.LIB_VERSION = s.SDKBuild ? s.SDKVersion + "-" + s.SDKBuild : s.SDKVersion;

console.log("TRTC-ROOM", "APP_VERSION:", n, " LIB_VERSION:", S, " is new version:", t);